﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Login : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
	protected void btnLogin_Click(object sender, EventArgs e)
	{
		Session["name"] = txtName.Text.Trim();
		

		//int[] list = new int[3];

		//if(CheckBox1.Checked)
		//{
		//    list[0] = 1;
		//}

		//if(CheckBox2.Checked)
		//{
		//    list[1] = 1;
		//}

		//if (CheckBox3.Checked)
		//{
		//    list[2] = 1;
		//}

		//Session["list"] = list;

		//Response.Redirect("ShowInfo.aspx");

		Response.Redirect("Default.aspx");
	}
}
